package com.xidian.yunwudemo.mapper.master;

import com.xidian.yunwudemo.dto.UserInfoDto;
import com.xidian.yunwudemo.entities.Roles;
import org.apache.ibatis.annotations.Mapper;


public interface RolesMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Roles record);

    int insertSelective(Roles record);

    Roles selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Roles record);

    int updateByPrimaryKey(Roles record);

    String getPasswordByName(String username);

    UserInfoDto getInfoByName(String username);
}